home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ABUSESRC.ZIP
/
AbuseSrc
/
abuse
/
inc
/
automap.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
1996-01-24
|
507b
|
26 lines
#ifndef __AUTOMAP_HPP_
#define __AUTOMAP_HPP_
#include "jwindow.hpp"
#include "level.hpp"
class automap
{
jwindow *automap_window;
level *cur_lev;
int tick,w,h; // used to draw your position as a blinking spot
long old_dx,old_dy;
public :
automap(level *l, int width, int height);
void toggle_window();
void handle_event(event &ev);
void draw();
~automap() { if (automap_window) toggle_window(); }
} ;
extern automap *current_automap;
#endif